package cn.blbsz.shop.repository;

import cn.blbsz.shop.entity.User;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

/**
 * Created by yipingdong on 2017/4/12.
 */

public interface UserMongoRepository extends MongoRepository<User, Long> {
    User findByUsername(String username);
}
